﻿@using Kugar.MVC.DaemonUI.Enums
@using Kugar.MVC.DaemonUI.Helpers
@using Kugar.MVC.DaemonUI.PageControls.PageCommons

@{
    ViewBag.Title = "修改密码";
    
    Layout = "~/Areas/Admin/Views/Shared/Layout.cshtml";

    var oldPassword = ViewBag.OldPassword;
    var newPassword = ViewBag.NewPassword;
    var confimPassword = ViewBag.ConfimPassword;
}


@section ContentBody
{
    @using (WebUI.Form.Form().Post().Render())
    {
        @WebUI.Form.Text().Title("旧密码").Name("OldPassword").Value(oldPassword).Render()
        
        @WebUI.Form.Text().Title("新密码").Name("NewPassword").Value(oldPassword).Render()
        
        @WebUI.Form.Text().Title("再次输入密码").Name("ConfimPassword").Value(oldPassword).Render()

        @WebUI.Form.BottomButtonGroup().AddButton(btn=>btn.Text("确定").Type(ButtonType.Submit).StyleType(ButtonStyleType.Primary))
    }
    
}
